/*
 * QE3e Qt Quick 3D Engine.
 * Copyright (C) 2010 Joris Vaillant and Mathieu Pujol 
 * <joris.vaillant@gmail.com>  <mathieu.pujol87@gmail.com>
 * 
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 * 
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 * 
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 */

#include "LightItem.h"

//std
#include <string.h>

namespace qe3e
{
  LightDescriptor::LightDescriptor()
  {
    memset(mPosition,0,19*sizeof(float));
  /*  mPosition[0]=0.;
    mPosition[1]=0.;
    mPosition[2]=0.;
    mPosition[3]=0.;

    mDirection[0];
    mDirection[1];
    mDirection[2];

    mAmbient[0];
    mAmbient[1];
    mAmbient[2];
    mAmbient[3];

    mDiffuse[0];
    mDiffuse[1];
    mDiffuse[2];
    mDiffuse[3];

    mSpecular[0];
    mSpecular[1];
    mSpecular[2];
    mSpecular[3];*/

    mEmitShadow=false;
    mSpotCutOffAngle=180;
    mEmitShadow=false;
  }
}
